package org.pb.org.mapper;

import org.pb.basic.mapper.BaseMapper;
import org.pb.org.domain.Shop;
import org.pb.org.query.ShopQuery;
import org.springframework.stereotype.Repository;

/**
 * 店铺的持久层接口
 * @author
 */
@Repository
public interface ShopMapper extends BaseMapper<Shop, ShopQuery> {

    /**
     * 根据店铺的名称和地址获取到对应的店铺数据
     * @param shop 查询店铺的信息
     * @return 返回查询到店铺数据
     */
    Shop getByNameAndAddress(Shop shop);

}
